package com.mj.util;

import java.util.List;
/**
 * 
 *@ClassName:TreeNode.java
 *@author MJ009
 *@date 2017年6月12日
 *@Description TODO
 *
 */
public class TreeNode {
	public String title;//栏目标题
	public String icon;//样式
	public String spread;//是否展开，针对父节点
	public String href;//链接
	public List<TreeNode> children;//子栏目集合
	private Integer id;  
    private Integer pId;
    private Boolean isDefault;
    
    public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getpId() {
		return pId;
	}
	public void setpId(Integer pId) {
		this.pId = pId;
	}
	public Boolean getIsDefault() {
		return isDefault;
	}
	public void setIsDefault(Boolean isDefault) {
		this.isDefault = isDefault;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getSpread() {
		return spread;
	}
	public void setSpread(String spread) {
		this.spread = spread;
	}
	public String getHref() {
		return href;
	}
	public void setHref(String href) {
		this.href = href;
	}
	public List<TreeNode> getChildren() {
		return children;
	}
	public void setChildren(List<TreeNode> children) {
		this.children = children;
	}
}
